package com.hanserwei.mydemo.stream;

import java.util.Arrays;

public class FlatMapTest2 {
    public static void main(String[] args) {
        Integer[][] array2D = {
                {1, 2, 3},
                {4, 5, 6},
                {7, 8, 9},
        };

        Arrays.stream(array2D)
                .flatMap(Arrays::stream)
                .forEach(System.out::print);
    }
}
